package com.study.provider.controller;

import com.study.provider.service.UserInfoManage;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author anner
 * @description: 信息发送
 * @date 2021/4/18 21:52
 */
@RestController
@Slf4j
public class NacosSendController {

    @Autowired
    private UserInfoManage userInfoManage;

    /**
     * 存储用户信息
     * @return
     */
    @GetMapping("/saveUserValue")
    public Object helloNacos() {
        log.info("api 存储用户信息...");
        Object value = userInfoManage.saveUserValue();
        return value;
    }

}
